import Vue from 'vue'

export const cultivate = {
  courseList: params => {
    return Vue.prototype.$post('/foster/kcxx/list', params)
  },
  courseAll: params => {
    return Vue.prototype.$post('/foster/kcxx/selectList', params)
  },
  courseAdd: params => {
    return Vue.prototype.$postJson('/foster/kcxx/add', params)
  },
  courseDelete: ids => {
    return Vue.prototype.$get(`/foster/kcxx/delete/${ids}`)
  },
  courseDetail: params => {
    return Vue.prototype.$get(`/foster/kcxx/info/${params}`)
  },
  courseQuoteList: params => {
    return Vue.prototype.$get(`/foster/kcxx/yyList/${params}`)
  },
  courseCheckList: params => {
    return Vue.prototype.$post('/foster/kcxx/shList', params)
  },
  courseCheck: params => {
    return Vue.prototype.$post('/foster/kcxx/check', params)
  },
  courseStatusModify: params => {
    return Vue.prototype.$post('/foster/kcxx/kcztModify', params)
  },
  courseUpdate: params => {
    return Vue.prototype.$postJson('/foster/kcxx/update', params)
  },
  teacherCheckList: params => {
    return Vue.prototype.$post('/foster/jzgxx/shList', params)
  },
  teacherCheck: params => {
    return Vue.prototype.$post('/foster/jzgxx/check', params)
  },
  teacherList: params => {
    return Vue.prototype.$post('/foster/jzgxx/list', params)
  },
  teacherDetail: params => {
    return Vue.prototype.$get(`/foster/jzgxx/getJzgxx?bh=${params}`)
  },
  teacherAdd: params => {
    return Vue.prototype.$post('/foster/jzgxx/add', params)
  },
  teacherUpdate: params => {
    return Vue.prototype.$post('/foster/jzgxx/update', params)
  },
  arrangeCourseList: params => {
    return Vue.prototype.$post('/foster/pkxx/list', params)
  },
  arrangeCourseTimeset: params => {
    return Vue.prototype.$post('/foster/pkxx/updatePkxxDate', params)
  },
  arrangeCourseDetail: params => {
    return Vue.prototype.$get(`/foster/pkxx/info/${params}`)
  },
  classrommList: params => {
    return Vue.prototype.$post('/foster/classroom/list', params)
  },
  attendStudentList: params => {
    return Vue.prototype.$post('/foster/tkxsmd/list', params)
  },
  examArrangeList: params => { // 考试安排列表
    return Vue.prototype.$post('/foster/ksapxx/list', params)
  },
  templateList: params => {
    return Vue.prototype.$post('/foster/pyfamb/list', params)
  },
  templateAdd: params => {
    return Vue.prototype.$postJson('/foster/pyfamb/add', params)
  },
  templateDelete: ids => {
    return Vue.prototype.$get(`/foster/pyfamb/delete/${ids}`)
  },
  templateUpdate: params => {
    return Vue.prototype.$postJson(`/foster/pyfamb/update`, params)
  },
  templateDetail: ids => {
    return Vue.prototype.$get(`/foster/pyfamb/info/${ids}`)
  },
  checkTemplateFw: params => {
    return Vue.prototype.$post('/foster/pyfamb/checkfambFw', params)
  },
  getTemplate: params => {
    return Vue.prototype.$post('/foster/pyfa/getFamb', params)
  },
  schemeList: params => {
    return Vue.prototype.$post('/foster/pyfa/list', params)
  },
  schemeAllList: params => {
    return Vue.prototype.$post('/foster/pyfa/queryAll', params)
  },
  getPyfa: params => {
    return Vue.prototype.$get('/foster/pyfa/getPyfa', params)
  },
  schemeAdd: params => {
    return Vue.prototype.$postJson('/foster/pyfa/add', params)
  },
  schemeCopy: params => {
    return Vue.prototype.$postJson('/foster/pyfa/copy', params)
  },
  schemeBatchCopy: params => {
    return Vue.prototype.$post('/foster/pyfa/copyBatch', params)
  },
  schemeDetail: id => {
    return Vue.prototype.$get(`/foster/pyfa/info/${id}`)
  },
  schemeUpdate: params => {
    return Vue.prototype.$postJson('/foster/pyfa/update', params)
  },
  schemeStop: id => {
    return Vue.prototype.$post(`/foster/pyfa/stop/${id}`)
  },
  schemeStart: id => {
    return Vue.prototype.$post(`/foster/pyfa/start/${id}`)
  },
  schemeDelete: ids => {
    return Vue.prototype.$get(`/foster/pyfa/delete/${ids}`)
  },
  planCheckTimeset: params => {
    return Vue.prototype.$post('/foster/pyjh/shsjUpdate', params)
  },
  planCheckList: params => {
    return Vue.prototype.$post('/foster/pyjh/shList', params)
  },
  planList: params => {
    return Vue.prototype.$post('/foster/pyjh/list', params)
  },
  planAllStu: params => {
    return Vue.prototype.$post('/foster/pyjh/listAllStu', params)
  },
  enrollmentStat: params => { // 选课人数统计
    return Vue.prototype.$post('/foster/pyjh/xkrstj', params)
  },
  enrollmentStuList: params => { // 获取选课人员列表
    return Vue.prototype.$post('/foster/pyjh/xkryList', params)
  },
  planDetail: id => {
    return Vue.prototype.$get(`/foster/pyjh/info/${id}`)
  },
  planCheck: params => {
    return Vue.prototype.$postJson('/foster/pyjh/check', params)
  },
  planDelete: ids => {
    return Vue.prototype.$get(`/foster/pyjh/delete/${ids}`)
  },
  resetPlan: params => {
    return Vue.prototype.$post('/foster/pyjh/reset', params)
  },
  planReset: params => {
    return Vue.prototype.$post('/foster/pyjh/resetList', params)
  },
  planUpdate: params => {
    return Vue.prototype.$postJson('/foster/pyjh/update', params)
  },
  pkUpdate: params => {
    return Vue.prototype.$post('/foster/pkxx/update', params)
  },
  pkAdd: params => {
    return Vue.prototype.$post('/foster/pkxx/add', params)
  },
  pkTeacherList: params => {
    return Vue.prototype.$post('/foster/pkxx/queryTeacherByPkxx', params)
  },
  pkStudentList: params => {
    return Vue.prototype.$post('/foster/pkxx/queryStudentByPkxx', params)
  },
  pkClassroomList: params => {
    return Vue.prototype.$post('/foster/pkxx/queryClassroomByPkxx', params)
  },
  pkDetail: id => {
    return Vue.prototype.$get(`/foster/pkxx/info/${id}`)
  },
  pkTeacherUpdate: params => {
    return Vue.prototype.$post('/foster/pkxx/updateTeacher', params)
  },
  pkClassroomUpdate: params => {
    return Vue.prototype.$post('/foster/pkxx/updateClassroom', params)
  },
  pkStudentAdd: params => {
  },
  pkStudentDelete: ids => {
    return Vue.prototype.$get(`/foster/tkxsmd/delete/${ids}`)
  },
  pkSelectTimeset: params => {
    return Vue.prototype.$post('/foster/pkxx/curriculaVariableDateUpdate', params)
  },
  teacherPkList: params => { // 获取教师排课情况
    return Vue.prototype.$post('/foster/pkxx/queryTeacherPkqk', params)
  },
  classroomPkList: params => { // 获取可选教室排课情况
    return Vue.prototype.$post('/foster/pkxx/queryClassroomPkqk', params)
  },
  classroomAdd: params => {
    return Vue.prototype.$post('/foster/classroom/add', params)
  },
  classroomDelete: ids => {
    return Vue.prototype.$get(`/foster/classroom/delete/${ids}`)
  },
  classroomInfo: id => {
    return Vue.prototype.$get(`/foster/classroom/info/${id}`)
  },
  classroomUpdate: params => {
    return Vue.prototype.$post('/foster/classroom/update', params)
  },
  examTimeset: params => {
    return Vue.prototype.$post('/foster/ksapxx/kasjqjUpdate', params)
  },
  examDelete: ids => {
    return Vue.prototype.$get(`/foster/ksapxx/delete/${ids}`)
  },
  examDetail: id => {
    return Vue.prototype.$get(`/foster/ksapxx/info/${id}`)
  },
  classroomExamList: params => { // 获取可选教室信息表列表（考试安排）
    return Vue.prototype.$post('/foster/ksapxx/queryClassroomByKsap', params)
  },
  examAdd: params => {
    return Vue.prototype.$post('/foster/ksapxx/add', params)
  },
  examUpdate: params => {
    return Vue.prototype.$post('/foster/ksapxx/update', params)
  },
  defendedList: params => { // 答辩
    return Vue.prototype.$post('/foster/ydbxx/list', params)
  },
  defendedCheckList: params => { // 获取预答辩信息表列表
    return Vue.prototype.$post('/foster/ydbxx/shlist', params)
  },
  defendedNumList: params => { // 获取预答辩统计列表
    return Vue.prototype.$post('/foster/ydbxx/ydbtjList', params)
  },

  defendedBack: id => {
    return Vue.prototype.$post(`/foster/ydbxx/back/${id}`)
  },
  defendedDetail: id => {
    return Vue.prototype.$get(`/foster/ydbxx/info/${id}`)
  },
  defendedCheck: params => {
    return Vue.prototype.$postJson('/foster/ydbxx/check', params)
  },
  scoreBatchCredit: params => {
    return Vue.prototype.$post('/foster/kccj/hdxfcjBatch', params)
  },
  scoreAddStuList: params => { // 单科成绩录入前调用，获取单科成绩录入学生列表
    return Vue.prototype.$post('/foster/kccj/dkcjlrxsList', params)
  },
  scoreAddStuCheck: params => { // 单人成绩录入前验证是否可以录入
    return Vue.prototype.$post('/foster/kccj/drcjlrCheck', params)
  },
  scoreList: params => { // 成绩发布查询列表
    return Vue.prototype.$post('/foster/kccj/cjfbList', params)
  },
  scoreBackList: params => { // 成绩退回查询列表
    return Vue.prototype.$post('/foster/kccj/cjthList', params)
  },
  scoreUnRcdList: params => { // 未录入成绩查询列表
    return Vue.prototype.$post('/foster/kccj/wlrcjList', params)
  },
  scoreFailList: params => {
    return Vue.prototype.$post('/foster/kccj/bhgcjList', params)
  },
  scoreFailChange: params => { // 不合格成绩类型修改
    return Vue.prototype.$post('/foster/kccj/bhglxChange', params)
  },
  scoreSubAdd: params => {
    return Vue.prototype.$postJson('/foster/kccj/dkcjlrAdd', params)
  },
  scoreSubAddList: params => {
    return Vue.prototype.$post('/foster/kccj/getStudentInfo', params)
  },
  scoreInfo: params => { // 核对学分成绩详情
    return Vue.prototype.$post('/foster/kccj/hdxfcjInfo', params)
  },
  scorePybList: params => {
    return Vue.prototype.$post('/foster/kccj/pybshList', params)
  },
  scorePybCheck: params => {
    return Vue.prototype.$post('/foster/kccj/pybCheck', params)
  },
  scoreYxList: params => {
    return Vue.prototype.$post('/foster/kccj/yxshList', params)
  },
  scoreYxCheck: params => {
    return Vue.prototype.$post('/foster/kccj/yxCheck', params)
  },
  scoreStuAdd: params => {
    return Vue.prototype.$postJson('/foster/kccj/drcjlrAdd', params)
  },
  scoreIssue: params => {
    return Vue.prototype.$post('/foster/kccj/cjfb', params)
  },
  rePublish: params => {
    return Vue.prototype.$post('/foster/kccj/cjcxfb', params)
  },
  scoreBack: params => {
    return Vue.prototype.$post('/foster/kccj/cjth', params)
  },
  scoreStuList: params => {
    return Vue.prototype.$post('/foster/kccj/xsList', params)
  },
  scoreSearchList: params => {
    return Vue.prototype.$post('/foster/kccj/cjcxList', params)
  },
  scoreCreStuList: params => {
    return Vue.prototype.$post('/foster/kccj/hdxfcjList', params)
  },
  scoreIssueList: params => {
    return Vue.prototype.$post('/foster/kccj/yfbList', params)
  },
  scoreXkztList: params => {
    return Vue.prototype.$post('/foster/kccj/xkztList', params)
  },
  scoreCreInfo: params => {
    return Vue.prototype.$post('/foster/kccj/hdxfcjInfo', params)
  },
  scoreStatis: params => {
    return Vue.prototype.$post('/foster/kccj/yfbcjStatis', params)
  },
  scoreDetail: id => { // 课程详情
    return Vue.prototype.$get(`/foster/kccj/info/${id}`)
  },
  scoreCheckDetail: id => { // 课程详情
    return Vue.prototype.$get(`/foster/kccj/checkInfo/${id}`)
  },
  scoreDrcjUpdate: params => { // 课程详情
    return Vue.prototype.$postJson(`/foster/kccj/drcjlrUpdate`,params)
  },
  scoreAddTime: params => {
    return Vue.prototype.$post('/foster/kccj/cjlrsjUpdate', params)
  },
  scoreStuInfo: xh => {
    return Vue.prototype.$get(`/foster/kccj/cjd/${xh}`)
  },
  openingList: params => { // 开题列表
    return Vue.prototype.$post('/foster/ktbgxx/list', params)
  },
  openingUncheckList: params => { // 开题报告待审核列表
    return Vue.prototype.$post('/foster/ktbgxx/uncheckList', params)
  },
  openingStatis: params => { // 开题报告统计
    return Vue.prototype.$post('/foster/ktbgxx/ktbgtjList', params)
  },
  openingCheck: params => { // 开题报告审核
    return Vue.prototype.$postJson('/foster/ktbgxx/check', params)
  },
  openingBack: id => {
    return Vue.prototype.$post(`/foster/ktbgxx/back/${id}`)
  },
  midBack: id => {
    return Vue.prototype.$post(`/foster/zqkhxx/back/${id}`)
  },
  preBack: id => {
    return Vue.prototype.$post(`/foster/ydbxx/back/${id}`)
  },
  openingDetail: id => {
    return Vue.prototype.$get(`/foster/ktbgxx/info/${id}`)
  },
  midTermList: params => {
    return Vue.prototype.$post('/foster/zqkhxx/list', params)
  },
  midTermCheckList: params => {
    return Vue.prototype.$post('/foster/zqkhxx/yxshList', params)
  },
  midTermCheck: params => {
    return Vue.prototype.$postJson('/foster/zqkhxx/yxsh', params)
  },
  midTermDetail: xh => {
    return Vue.prototype.$get(`/foster/zqkhxx/info/${xh}`)
  },
  midTermStatis: params => {
    return Vue.prototype.$post('/foster/zqkhxx/zqkhtj', params)
  },
  graduateStuList: params => {
    return Vue.prototype.$post('/foster/bygl/byxsList', params)
  },
  bytj: params => {
    return Vue.prototype.$get('/foster/bygl/bytj', params)
  },
  bsBytj: params => {
    return Vue.prototype.$get('/foster/bygl/bytj/bs', params)
  },
  graduateList: params => {
    return Vue.prototype.$post('/foster/bygl/zgsc', params)
  },
  graduateChangeStatus: params => {
    return Vue.prototype.$post('/foster/bygl/szxjzt', params)
  },
  graduateKcList: params => {
    return Vue.prototype.$post('/foster/bygl/wxkcList', params)
  },
  paperList: params => {
    return Vue.prototype.$post('/foster/lwxx/list', params)
  },
  paperCheckList: params => { // 院系审核时论文信息表列表
    return Vue.prototype.$post('/foster/lwxx/yxshList', params)
  },
  paperDetail: id => {
    return Vue.prototype.$get(`/foster/lwxx/info/${id}`)
  },
  paperCheck: params => {
    return Vue.prototype.$get('/foster/lwxx/yxsh', params)
  },
  back: params => {
    return Vue.prototype.$post('/foster/lwxx/back', params)
  },
  saveTeacherAndClassroom: params => {
    return Vue.prototype.$post('/foster/pkxx/saveTeacherAndClassroom', params)
  },
  adjusting: params => {
    return Vue.prototype.$post('/foster/pkxx/adjusting', params)
  },
  createTkxsmd: params => {
    return Vue.prototype.$post('/foster/pyjh/createTkxsmd', params)
  },
  pkxxDelete: ids => {
    return Vue.prototype.$get(`/foster/pkxx/delete/${ids}`)
  },
  degreeQuery: params =>{
    return Vue.prototype.$post('degree/xwsh/xwtjList',params)
  },
  tkAdd: params =>{
    return Vue.prototype.$postJson('foster/tksq/add',params)
  },
  tkList: params =>{
    return Vue.prototype.$post('foster/tksq/list',params)
  },
  tkPybList: params =>{
    return Vue.prototype.$post('foster/tksq/pybList',params)
  },
  tkYxList: params =>{
    return Vue.prototype.$post('foster/tksq/yxshList',params)
  },
  tkYzList: params =>{
    return Vue.prototype.$post('foster/tksq/yzList',params)
  },
  tkDetail: id => {
    return Vue.prototype.$get(`/foster/tksq/info/${id}`)
  },
  tkCheck: params =>{
    return Vue.prototype.$post('foster/tksq/check',params)
  },
  deleteJzg: ids => {
    return Vue.prototype.$get('foster/jzgxx/delete/' + ids)
  },
  //成绩删除
  batchDel :params =>{
    return Vue.prototype.$post('foster/kccj/deleteFinaly',params)
  },
  //评审专家库
  zjkList: params =>{
    return Vue.prototype.$post('foster/ktbgPszj/list',params)
  },
  zjkListDL: params =>{
    return Vue.prototype.$postJson('foster/ktbgPszj/delete',params)
  },
  savezjkList: params =>{
    return Vue.prototype.$postJson('foster/ktbgPszj/save',params)
  },
  zjkListXM: params =>{
    return Vue.prototype.$post('foster/ktbgPszj/list/xm',params)
  },
  //成绩录入角色权限
  scoreAddStuCheckManage: params => { // 单人成绩录入前验证是否可以录入
    return Vue.prototype.$get('/foster/kccj/checkManage', params)
  },
  bhgcjCheck: params =>{
    return Vue.prototype.$postJson('/foster/kccj/bhgcjCheck',params)
  },
  ycjruList: params =>{
    return Vue.prototype.$post('/foster/kccj/ycjruList',params)
  },
  dkcjtj: params =>{
    return Vue.prototype.$post('/foster/kccj/dkcjtj',params)
  },
  cjruList: params =>{
    return Vue.prototype.$post('/foster/kccj/cjruList',params)
  },
  //占用教室
  zyClassroom: params =>{
    return Vue.prototype.$post('/foster/jszy/queryClassroom',params) //查询可以占用的教室
  },
  zyClassroomSave: params =>{
    return Vue.prototype.$postJson('/foster/jszy/save',params) //保存占用的教室
  },
  zyClassroomDelete: id =>{
    return Vue.prototype.$post('/foster/jszy/delete/'+ id) //取消占用的教室
  },
  zyClassroomInfo: id =>{
    return Vue.prototype.$post('/foster/jszy/info/'+ id) //占用的教室详情
  },
  zyClassroomList: params =>{
    return Vue.prototype.$post('/foster/jszy/list',params) //查询可以占用的教室
  },
  pjcjList: params =>{
    return Vue.prototype.$post('foster/kccj/pjcjList', params)
  },
  selectList4AddCourse: params => {
    return Vue.prototype.$post('/foster/kcxx/selectList4AddCourse', params)
  },
  infoPic: params => {
    return Vue.prototype.$post('/foster/bygl/byzp/info', params)
  },
  infoCheck: params => {
    return Vue.prototype.$post('/foster/bygl/byzp/check', params)
  },
  ggkcList: params => {
    return Vue.prototype.$post('/foster/ggkc/list', params)
  },
  ggkcDelete: ids => {
    return Vue.prototype.$get(`/foster/ggkc/delete/${ids}`)
  },
  ggkcDetail: id => {
    return Vue.prototype.$get(`/foster/ggkc/delete/${ids}`)
  },

}
